<?php
define ("DOMAIN", "http://sokolzdelov.dadena.com");
define ("VERSION", "2.2.0");

define ("ZDELOV_A", "1");
define ("ZDELOV_B", "2");
define ("SEASON", "2010");
define ("DEFAULT_LEAGUE", "2");
define ("LOGIN_REMEMBER_TIME", 60*60*24*10);
define ("PROFILE_CHANGE_DELAY", 30);

define ("ROLE_PUBLIC", "0");
define ("ROLE_USER", "5");
define ("ROLE_TEAM", "7");
define ("ROLE_REPORTER", "8");
define ("ROLE_ADMIN", "10");

define ("ACTION_LOGIN", "0");
define ("ACTION_LOGOUT", "1");
define ("ACTION_ACTIVATION", "2");
define ("ACTION_NEW_USER", "3");
define ("ACTION_CHANGE_PROFILE", "4");
define ("ACTION_CHANGE_PASSWORD", "5");
define ("ACTION_NEW_TOPIC", "6");
define ("ACTION_NEW_REPLY", "7");
define ("ACTION_NEW_COMMENT", "8");
define ("ACTION_CHANGE_ROLE", "9");
define ("ACTION_DELETE_USER", "10");
define ("ACTION_SAVE_MATCH", "11");
define ("ACTION_DELETE_MATCH", "12");
define ("ACTION_DELETE_REPORT", "13");
define ("ACTION_SAVE_REPORT", "14");
define ("ACTION_SAVE_PLAYER", "15");
define ("ACTION_DELETE_PLAYER", "16");
define ("ACTION_SAVE_TEAM", "17");
define ("ACTION_DELETE_TEAM", "18");
define ("ACTION_SAVE_VIDEO", "19");
define ("ACTION_DELETE_VIDEO", "20");
define ("ACTION_SAVE_ROSTER", "21");
define ("ACTION_SAVE_ORGAN", "22");
define ("ACTION_DELETE_ORGAN", "23");
define ("ACTION_SAVE_UPDATE", "24");
define ("ACTION_DELETE_UPDATE", "25");
define ("ACTION_SEND_TO_EMAIL", "26");
define ("ACTION_SAVE_MATCH_FILTER", "27");
define ("ACTION_CLEAR_MATCH_FILTER", "28");
define ("ACTION_SAVE_MATCH_FILTER_2", "29");
define ("ACTION_CLEAR_MATCH_FILTER_2", "30");

$actions[ACTION_LOGIN]["access"] = ROLE_PUBLIC;
$actions[ACTION_LOGOUT]["access"] = ROLE_PUBLIC;
$actions[ACTION_ACTIVATION]["access"] = ROLE_PUBLIC;
$actions[ACTION_NEW_USER]["access"] = ROLE_PUBLIC;
$actions[ACTION_CHANGE_PROFILE]["access"] = ROLE_USER;
$actions[ACTION_CHANGE_PASSWORD]["access"] = ROLE_USER;
$actions[ACTION_NEW_TOPIC]["access"] = ROLE_USER;
$actions[ACTION_NEW_REPLY]["access"] = ROLE_USER;
$actions[ACTION_NEW_COMMENT]["access"] = ROLE_USER;
$actions[ACTION_CHANGE_ROLE]["access"] = ROLE_ADMIN;
$actions[ACTION_DELETE_USER]["access"] = ROLE_ADMIN;
$actions[ACTION_SAVE_MATCH]["access"] = ROLE_REPORTER;
$actions[ACTION_DELETE_MATCH]["access"] = ROLE_REPORTER;
$actions[ACTION_DELETE_REPORT]["access"] = ROLE_REPORTER;
$actions[ACTION_SAVE_REPORT]["access"] = ROLE_REPORTER;
$actions[ACTION_SAVE_PLAYER]["access"] = ROLE_ADMIN;
$actions[ACTION_DELETE_PLAYER]["access"] = ROLE_ADMIN;
$actions[ACTION_SAVE_TEAM]["access"] = ROLE_ADMIN;
$actions[ACTION_DELETE_TEAM]["access"] = ROLE_ADMIN;
$actions[ACTION_SAVE_VIDEO]["access"] = ROLE_REPORTER;
$actions[ACTION_DELETE_VIDEO]["access"] = ROLE_REPORTER;
$actions[ACTION_SAVE_ROSTER]["access"] = ROLE_REPORTER;
$actions[ACTION_SAVE_ORGAN]["access"] = ROLE_ADMIN;
$actions[ACTION_DELETE_ORGAN]["access"] = ROLE_ADMIN;
$actions[ACTION_SAVE_UPDATE]["access"] = ROLE_ADMIN;
$actions[ACTION_SEND_TO_EMAIL]["access"] = ROLE_PUBLIC;
$actions[ACTION_SAVE_MATCH_FILTER]["access"] = ROLE_REPORTER;
$actions[ACTION_CLEAR_MATCH_FILTER]["access"] = ROLE_REPORTER;
$actions[ACTION_SAVE_MATCH_FILTER_2]["access"] = ROLE_REPORTER;
$actions[ACTION_CLEAR_MATCH_FILTER_2]["access"] = ROLE_REPORTER;

define ("DF_DDMM", "0");
define ("DF_DDMMYYYY", "1");
define ("DF_DDMMYYYYHHMM", "2");

define ("COMM_TYPE_REPORT", "0");
define ("COMM_TYPE_NEW_THEME", "1");
define ("COMM_TYPE_THEME_COMMENT", "2");
define ("COMM_TYPE_UPDATE", "3");

define ("PUBLIC_PATH", "./public/");
define ("PRIVATE_PATH", "./private/");
define ("ADMIN_PATH", "./admin/");
define ("PHOTO_GALLERY_PATH", "./media/photo/gallery/");
define ("VIDEO_GALLERY_PATH", "./media/video/");

define ("REDIRECT", "index.php?page=");
define ("ADD_PAR", "&amp;");

define ("MSG_INFO", "0");
define ("MSG_WARNING", "1");

define ("PAGE_NOT_FOUND", "0");
define ("PAGE_NEWS", "1");
define ("PAGE_REPORT", "2");
define ("PAGE_RESULTS", "3");
define ("PAGE_TABLE", "4");
define ("PAGE_PLAYERS", "5");
define ("PAGE_MANAGEMENT", "6");
define ("PAGE_CLUB_INFO", "7");
define ("PAGE_STADIUM", "8");
define ("PAGE_DRESS", "9");
define ("PAGE_CLUB_PHOTOS", "10");
define ("PAGE_CLUB_HISTORY", "11");
define ("PAGE_CLUB_LAWS", "12");
define ("PAGE_SPONSORS", "13");
define ("PAGE_REGISTRATION", "14");
define ("PAGE_REGISTERED", "15");
define ("PAGE_ACTIVATION", "16");
define ("PAGE_FORUM_THEMES", "17");
define ("PAGE_ALL_RESULTS", "18");
define ("PAGE_CROSS_TABLE", "19");
define ("PAGE_FRIENDLY", "20");
define ("PAGE_PHOTOGALERIES", "21");
define ("PAGE_VIDEO", "22");
define ("PAGE_PHOTOS", "23");
define ("PAGE_ADMIN_RESULTS", "24");
define ("PAGE_ADMIN_REPORTS", "25");
define ("PAGE_ADMIN_REPORT", "26");
define ("PAGE_ADMIN_PLAYERS", "27");
define ("PAGE_ADMIN_PLAYER", "28");
define ("PAGE_ADMIN_TEAMS", "29");
define ("PAGE_ADMIN_TEAM", "30");
define ("PAGE_ADMIN_ROSTER", "31");
define ("PAGE_ADMIN_MANAGEMENT", "32");
define ("PAGE_ADMIN_ORGAN", "33");
define ("PAGE_ADMIN_USERS", "34");
define ("PAGE_ADMIN_VIDEOS", "35");
define ("PAGE_ADMIN_VIDEO", "36");
define ("PAGE_FORUM_THEME", "37");
define ("PAGE_NO_ACCESS", "38");
define ("PAGE_ADMIN_UPDATE", "39");
define ("PAGE_UPDATES", "40");
define ("PAGE_CHORAL", "41");
define ("PAGE_CELEBRATIONS", "42");
define ("PAGE_NOT_ACTIVATED", "43");
define ("PAGE_ADMIN_UPDATES", "44");
define ("PAGE_USER_PROFILE", "45");
define ("PAGE_LINKS", "46");
define ("PAGE_FACEBOOK", "47");


$pages[PAGE_NOT_FOUND]["title"] = "STRÁNKA NENALEZENA !!!";
$pages[PAGE_NOT_FOUND]["url"] = PUBLIC_PATH."text.php";
$pages[PAGE_NOT_FOUND]["access"] = ROLE_PUBLIC;
$pages[PAGE_NOT_FOUND]["text"] = "Tato stránka neexistuje, nebo byla zadána neplatná adresa.";

$pages[PAGE_NEWS]["title"] = "ZPRÁVY";
$pages[PAGE_NEWS]["url"] = PUBLIC_PATH."zpravy.php";
$pages[PAGE_NEWS]["access"] = ROLE_PUBLIC;

$pages[PAGE_REPORT]["title"] = "ČLÁNEK";
$pages[PAGE_REPORT]["url"] = PUBLIC_PATH."clanek.php";
$pages[PAGE_REPORT]["access"] = ROLE_PUBLIC;

$pages[PAGE_RESULTS]["title"] = "VÝSLEDKY";
$pages[PAGE_RESULTS]["menu_title"] = "VÝSLEDKY ZDELOVA";
$pages[PAGE_RESULTS]["url"] = PUBLIC_PATH."utkani_soutez.php";
$pages[PAGE_RESULTS]["access"] = ROLE_PUBLIC;

$pages[PAGE_TABLE]["title"] = "TABULKA";
$pages[PAGE_TABLE]["menu_title"] = "TABULKA";
$pages[PAGE_TABLE]["url"] = PUBLIC_PATH."tabulka.php";
$pages[PAGE_TABLE]["access"] = ROLE_PUBLIC;

$pages[PAGE_PLAYERS]["title"] = "SOUPISKA HRÁČŮ";
$pages[PAGE_PLAYERS]["menu_title"] = "HRÁČI";
$pages[PAGE_PLAYERS]["url"] = PUBLIC_PATH."hraci.php";
$pages[PAGE_PLAYERS]["access"] = ROLE_PUBLIC;

$pages[PAGE_CELEBRATIONS]["title"] = "NEJBLIŽŠÍ OSLAVY HRÁČŮ";
$pages[PAGE_CELEBRATIONS]["menu_title"] = "NEJBLIŽŠÍ OSLAVY HRÁČŮ";
$pages[PAGE_CELEBRATIONS]["url"] = PUBLIC_PATH."oslavy_hracu.php";
$pages[PAGE_CELEBRATIONS]["access"] = ROLE_PUBLIC;

$pages[PAGE_MANAGEMENT]["title"] = "REALIZAČNÍ TÝM";
$pages[PAGE_MANAGEMENT]["menu_title"] = "REALIZAČNÍ TÝM";
$pages[PAGE_MANAGEMENT]["url"] = PUBLIC_PATH."lide.php";
$pages[PAGE_MANAGEMENT]["access"] = ROLE_PUBLIC;

$pages[PAGE_CLUB_INFO]["title"] = "INFORMACE O KLUBU";
$pages[PAGE_CLUB_INFO]["menu_title"] = "INFORMACE";
$pages[PAGE_CLUB_INFO]["url"] = PUBLIC_PATH."info.php";
$pages[PAGE_CLUB_INFO]["access"] = ROLE_PUBLIC;

$pages[PAGE_STADIUM]["title"] = "STADION";
$pages[PAGE_STADIUM]["menu_title"] = "STADION";
$pages[PAGE_STADIUM]["url"] = PUBLIC_PATH."stadion.php";
$pages[PAGE_STADIUM]["access"] = ROLE_PUBLIC;

$pages[PAGE_DRESS]["title"] = "DRESY";
$pages[PAGE_DRESS]["menu_title"] = "KLUBOVÉ DRESY";
$pages[PAGE_DRESS]["url"] = PUBLIC_PATH."dresy.php";
$pages[PAGE_DRESS]["access"] = ROLE_PUBLIC;

$pages[PAGE_CLUB_PHOTOS]["title"] = "FOTOGALERIE";
$pages[PAGE_CLUB_PHOTOS]["menu_title"] = "KLUBOVÉ FOTO";
$pages[PAGE_CLUB_PHOTOS]["url"] = PUBLIC_PATH."klub_foto.php";
$pages[PAGE_CLUB_PHOTOS]["access"] = ROLE_PUBLIC;

$pages[PAGE_CLUB_HISTORY]["title"] = "HISTORIE KLUBU";
$pages[PAGE_CLUB_HISTORY]["menu_title"] = "HISTORICKÉ FOTO";
$pages[PAGE_CLUB_HISTORY]["url"] = PUBLIC_PATH."historie.php";
$pages[PAGE_CLUB_HISTORY]["access"] = ROLE_PUBLIC;

$pages[PAGE_CHORAL]["title"] = "KLUBOVÝ CHORÁL";
$pages[PAGE_CHORAL]["menu_title"] = "KLUBOVÝ CHORÁL";
$pages[PAGE_CHORAL]["url"] = PUBLIC_PATH."choral.php";
$pages[PAGE_CHORAL]["access"] = ROLE_PUBLIC;

$pages[PAGE_CLUB_LAWS]["title"] = "NÁVŠTĚVNÍ ŘÁD";
$pages[PAGE_CLUB_LAWS]["menu_title"] = "NÁVŠTĚVNÍ ŘÁD";
$pages[PAGE_CLUB_LAWS]["url"] = PUBLIC_PATH."navstevni_rad.php";
$pages[PAGE_CLUB_LAWS]["access"] = ROLE_PUBLIC;

$pages[PAGE_SPONSORS]["title"] = "SPONZOŘI";
$pages[PAGE_SPONSORS]["url"] = PUBLIC_PATH."sponzori.php";
$pages[PAGE_SPONSORS]["access"] = ROLE_PUBLIC;

$pages[PAGE_REGISTRATION]["title"] = "REGISTRACE NOVÉHO UŽIVATELE";
$pages[PAGE_REGISTRATION]["url"] = PUBLIC_PATH."registrace.php";
$pages[PAGE_REGISTRATION]["access"] = ROLE_PUBLIC;

$pages[PAGE_REGISTERED]["title"] = "UŽIVATEL REGISTROVÁN";
$pages[PAGE_REGISTERED]["url"] = PUBLIC_PATH."text.php";
$pages[PAGE_REGISTERED]["access"] = ROLE_PUBLIC;
$pages[PAGE_REGISTERED]["text"] = "Děkujeme za Vaši registraci. Nyní musíte aktivovat Váš účet pomocí odkazu, který Vám bude v nejbližší době zaslán na Vaši emailovou adresu zadanou při registraci.";

$pages[PAGE_ACTIVATION]["title"] = "AKTIVACE ÚČTU";
$pages[PAGE_ACTIVATION]["url"] = PUBLIC_PATH."aktivace.php";
$pages[PAGE_ACTIVATION]["access"] = ROLE_PUBLIC;

$pages[PAGE_NOT_ACTIVATED]["title"] = "ÚČET NEAKTIVOVÁN";
$pages[PAGE_NOT_ACTIVATED]["url"] = PUBLIC_PATH."text.php";
$pages[PAGE_NOT_ACTIVATED]["access"] = ROLE_PUBLIC;
$pages[PAGE_NOT_ACTIVATED]["text"] = "Váš účet nebyl doposud aktivován. Aktivační odkaz Vám přijde na emailovou adresu, kterou jste zadali při registraci.";

$pages[PAGE_NO_ACCESS]["title"] = "NEPŘÍSTUPNÁ STRÁNKA";
$pages[PAGE_NO_ACCESS]["url"] = PUBLIC_PATH."text.php";
$pages[PAGE_NO_ACCESS]["access"] = ROLE_PUBLIC;
$pages[PAGE_NO_ACCESS]["text"] = "Nemáte práva k přístupu na tuto stránku!!!";

$pages[PAGE_FORUM_THEMES]["title"] = "TÉMATA DISKUZE";
$pages[PAGE_FORUM_THEMES]["url"] = PUBLIC_PATH."diskuze_temata.php";
$pages[PAGE_FORUM_THEMES]["access"] = ROLE_PUBLIC;

$pages[PAGE_FORUM_THEME]["title"] = "";
$pages[PAGE_FORUM_THEME]["url"] = PUBLIC_PATH."diskuze_prispevky.php";
$pages[PAGE_FORUM_THEME]["access"] = ROLE_PUBLIC;

$pages[PAGE_ALL_RESULTS]["title"] = "VŠECHNA UTKÁNÍ";
$pages[PAGE_ALL_RESULTS]["menu_title"] = "VŠECHNA UTKÁNÍ";
$pages[PAGE_ALL_RESULTS]["url"] = PUBLIC_PATH."utkani_soutez_vse.php";
$pages[PAGE_ALL_RESULTS]["access"] = ROLE_PUBLIC;

$pages[PAGE_CROSS_TABLE]["title"] = "KŘÍŽOVÁ TABULKA";
$pages[PAGE_CROSS_TABLE]["url"] = PUBLIC_PATH."kriz_tabulka.php";
$pages[PAGE_CROSS_TABLE]["access"] = ROLE_PUBLIC;

$pages[PAGE_FRIENDLY]["title"] = "PŘÁTELSKÁ UTKÁNÍ";
$pages[PAGE_FRIENDLY]["menu_title"] = "PŘÁTELSKÁ UTKÁNÍ";
$pages[PAGE_FRIENDLY]["url"] = PUBLIC_PATH."utkani_pratelske.php";
$pages[PAGE_FRIENDLY]["access"] = ROLE_PUBLIC;

$pages[PAGE_PHOTOGALERIES]["title"] = "FOTOGALERIE";
$pages[PAGE_PHOTOGALERIES]["menu_title"] = "FOTOGALERIE";
$pages[PAGE_PHOTOGALERIES]["url"] = PUBLIC_PATH."fotogalerie.php";
$pages[PAGE_PHOTOGALERIES]["access"] = ROLE_PUBLIC;

$pages[PAGE_PHOTOS]["title"] = $_GET['galname'];
$pages[PAGE_PHOTOS]["url"] = PUBLIC_PATH."fotky.php";
$pages[PAGE_PHOTOS]["access"] = ROLE_PUBLIC;

$pages[PAGE_VIDEO]["title"] = "VIDEO";
$pages[PAGE_VIDEO]["menu_title"] = "VIDEOZÁZNAMY";
$pages[PAGE_VIDEO]["url"] = PUBLIC_PATH."video.php";
$pages[PAGE_VIDEO]["access"] = ROLE_PUBLIC;

$pages[PAGE_UPDATES]["title"] = "HISTORIE VERZÍ WEBU";
$pages[PAGE_UPDATES]["url"] = PUBLIC_PATH."aktualizace.php";
$pages[PAGE_UPDATES]["access"] = ROLE_PUBLIC;

$pages[PAGE_LINKS]["title"] = "ODKAZY NA JINÉ STRÁNKY";
$pages[PAGE_LINKS]["url"] = PUBLIC_PATH."odkazy.php";
$pages[PAGE_LINKS]["access"] = ROLE_PUBLIC;

$pages[PAGE_FACEBOOK]["title"] = "TJ SOKOL ZDELOV NA FACEBOOKU";
$pages[PAGE_FACEBOOK]["url"] = PUBLIC_PATH."facebook.php";
$pages[PAGE_FACEBOOK]["access"] = ROLE_PUBLIC;

$pages[PAGE_ADMIN_RESULTS]["title"] = "ADMINISTRACE VÝSLEDKŮ";
$pages[PAGE_ADMIN_RESULTS]["menu_title"] = "VÝSLEDKY";
$pages[PAGE_ADMIN_RESULTS]["url"] = ADMIN_PATH."vysledky.php";
$pages[PAGE_ADMIN_RESULTS]["access"] = ROLE_REPORTER;

$pages[PAGE_ADMIN_REPORTS]["title"] = "ADMINISTRACE ČLÁNKŮ";
$pages[PAGE_ADMIN_REPORTS]["menu_title"] = "ČLÁNKY";
$pages[PAGE_ADMIN_REPORTS]["url"] = ADMIN_PATH."clanky.php";
$pages[PAGE_ADMIN_REPORTS]["access"] = ROLE_REPORTER;

$pages[PAGE_ADMIN_REPORT]["title"] = "EDITACE ČLÁNKU";
$pages[PAGE_ADMIN_REPORT]["url"] = ADMIN_PATH."clanek.php";
$pages[PAGE_ADMIN_REPORT]["access"] = ROLE_REPORTER;

$pages[PAGE_ADMIN_PLAYERS]["title"] = "ADMINISTRACE HRÁČŮ";
$pages[PAGE_ADMIN_PLAYERS]["menu_title"] = "HRÁČI";
$pages[PAGE_ADMIN_PLAYERS]["url"] = ADMIN_PATH."hraci.php";
$pages[PAGE_ADMIN_PLAYERS]["access"] = ROLE_ADMIN;

$pages[PAGE_ADMIN_PLAYER]["title"] = "EDITACE HRÁČE";
$pages[PAGE_ADMIN_PLAYER]["url"] = ADMIN_PATH."hrac.php";
$pages[PAGE_ADMIN_PLAYER]["access"] = ROLE_ADMIN;

$pages[PAGE_ADMIN_TEAMS]["title"] = "ADMINISTRACE MUŽSTEV";
$pages[PAGE_ADMIN_TEAMS]["menu_title"] = "MUŽSTVA";
$pages[PAGE_ADMIN_TEAMS]["url"] = ADMIN_PATH."muzstva.php";
$pages[PAGE_ADMIN_TEAMS]["access"] = ROLE_ADMIN;

$pages[PAGE_ADMIN_TEAM]["title"] = "EDITACE MUŽSTVA";
$pages[PAGE_ADMIN_TEAM]["url"] = ADMIN_PATH."muzstvo.php";
$pages[PAGE_ADMIN_TEAM]["access"] = ROLE_ADMIN;

$pages[PAGE_ADMIN_ROSTER]["title"] = "ADMINISTRACE SOUPISEK";
$pages[PAGE_ADMIN_ROSTER]["menu_title"] = "SOUPISKY";
$pages[PAGE_ADMIN_ROSTER]["url"] = ADMIN_PATH."soupiska.php";
$pages[PAGE_ADMIN_ROSTER]["access"] = ROLE_REPORTER;

$pages[PAGE_ADMIN_MANAGEMENT]["title"] = "ADMINISTRACE REALIZAČNÍHO TÝMU";
$pages[PAGE_ADMIN_MANAGEMENT]["menu_title"] = "REALIZAČNÍ TÝM";
$pages[PAGE_ADMIN_MANAGEMENT]["url"] = ADMIN_PATH."lide.php";
$pages[PAGE_ADMIN_MANAGEMENT]["access"] = ROLE_ADMIN;

$pages[PAGE_ADMIN_ORGAN]["title"] = "EDITACE ČLENA TÝMU";
$pages[PAGE_ADMIN_ORGAN]["url"] = ADMIN_PATH."clovek.php";
$pages[PAGE_ADMIN_ORGAN]["access"] = ROLE_ADMIN;

$pages[PAGE_ADMIN_USERS]["title"] = "PŘEHLED UŽIVATELŮ";
$pages[PAGE_ADMIN_USERS]["menu_title"] = "UŽIVATELÉ";
$pages[PAGE_ADMIN_USERS]["url"] = ADMIN_PATH."uzivatele.php";
$pages[PAGE_ADMIN_USERS]["access"] = ROLE_ADMIN;

$pages[PAGE_ADMIN_VIDEOS]["title"] = "ADMINISTRACE VIDEA";
$pages[PAGE_ADMIN_VIDEOS]["menu_title"] = "VIDEA";
$pages[PAGE_ADMIN_VIDEOS]["url"] = ADMIN_PATH."videa.php";
$pages[PAGE_ADMIN_VIDEOS]["access"] = ROLE_REPORTER;

$pages[PAGE_ADMIN_VIDEO]["title"] = "ADMINISTRACE VIDEA";
$pages[PAGE_ADMIN_VIDEO]["url"] = ADMIN_PATH."video.php";
$pages[PAGE_ADMIN_VIDEO]["access"] = ROLE_REPORTER;

$pages[PAGE_USER_PROFILE]["title"] = "PROFIL UŽIVATELE";
$pages[PAGE_USER_PROFILE]["url"] = PRIVATE_PATH."user_profile.php";
$pages[PAGE_USER_PROFILE]["access"] = ROLE_USER;

$pages[PAGE_ADMIN_UPDATES]["title"] = "AKTUALIZACE";
$pages[PAGE_ADMIN_UPDATES]["menu_title"] = "AKTUALIZACE";
$pages[PAGE_ADMIN_UPDATES]["url"] = ADMIN_PATH."aktualizace.php";
$pages[PAGE_ADMIN_UPDATES]["access"] = ROLE_ADMIN;

$pages[PAGE_ADMIN_UPDATE]["title"] = "VYTVOŘENÍ ČI ZMĚNA AKTUALIZACE";
$pages[PAGE_ADMIN_UPDATE]["url"] = ADMIN_PATH."nova_aktualizace.php";
$pages[PAGE_ADMIN_UPDATE]["access"] = ROLE_ADMIN;

$group_menu[0]["title"] = "ZPRÁVY";
$group_menu[0]["default"] = PAGE_NEWS;
$group_menu[0]["pages"] = array(PAGE_NEWS, PAGE_REPORT);
$group_menu[0]["access"] = ROLE_PUBLIC;

$group_menu[1]["title"] = "VÝSLEDKY";
$group_menu[1]["default"] = PAGE_RESULTS;
$group_menu[1]["pages"] = array(PAGE_RESULTS, PAGE_TABLE, PAGE_ALL_RESULTS, PAGE_CROSS_TABLE, PAGE_FRIENDLY);
$group_menu[1]["access"] = ROLE_PUBLIC;
$group_menu[1]["submenu"] = array(PAGE_RESULTS, PAGE_TABLE, PAGE_ALL_RESULTS, PAGE_FRIENDLY);

$group_menu[2]["title"] = "MUŽSTVO";
$group_menu[2]["default"] = PAGE_PLAYERS;
$group_menu[2]["pages"] = array(PAGE_PLAYERS, PAGE_CELEBRATIONS, PAGE_MANAGEMENT);
$group_menu[2]["access"] = ROLE_PUBLIC;
$group_menu[2]["submenu"] = array(PAGE_PLAYERS, PAGE_MANAGEMENT, PAGE_CELEBRATIONS);

$group_menu[3]["title"] = "O KLUBU";
$group_menu[3]["default"] = PAGE_CLUB_INFO;
$group_menu[3]["pages"] = array(PAGE_CLUB_INFO, PAGE_STADIUM, PAGE_DRESS, PAGE_CLUB_PHOTOS, PAGE_CHORAL, PAGE_CLUB_HISTORY, PAGE_CLUB_LAWS);
$group_menu[3]["access"] = ROLE_PUBLIC;
$group_menu[3]["submenu"] = array(PAGE_CLUB_INFO, PAGE_STADIUM, PAGE_DRESS, PAGE_CLUB_PHOTOS, PAGE_CHORAL, PAGE_CLUB_HISTORY, PAGE_CLUB_LAWS);

$group_menu[4]["title"] = "GALERIE";
$group_menu[4]["default"] = PAGE_PHOTOGALERIES;
$group_menu[4]["pages"] = array(PAGE_PHOTOGALERIES, PAGE_VIDEO);
$group_menu[4]["access"] = ROLE_PUBLIC;
$group_menu[4]["submenu"] = array(PAGE_PHOTOGALERIES, PAGE_VIDEO);

$group_menu[5]["title"] = "SPONZOŘI";
$group_menu[5]["default"] = PAGE_SPONSORS;
$group_menu[5]["pages"] = array(PAGE_SPONSORS);
$group_menu[5]["access"] = ROLE_PUBLIC;

$group_menu[6]["title"] = "DISKUZE";
$group_menu[6]["default"] = PAGE_FORUM_THEMES;
$group_menu[6]["pages"] = array(PAGE_FORUM_THEMES, PAGE_FORUM_THEME);
$group_menu[6]["access"] = ROLE_PUBLIC;

$group_menu[7]["title"] = "ODKAZY";
$group_menu[7]["default"] = PAGE_LINKS;
$group_menu[7]["pages"] = array(PAGE_LINKS);
$group_menu[7]["access"] = ROLE_PUBLIC;

$group_menu[8]["title"] = "FACEBOOK";
$group_menu[8]["default"] = PAGE_FACEBOOK;
$group_menu[8]["pages"] = array(PAGE_FACEBOOK);
$group_menu[8]["access"] = ROLE_PUBLIC;

$group_menu[9]["title"] = "ADMIN";
$group_menu[9]["default"] = PAGE_ADMIN_REPORTS;
$group_menu[9]["pages"] = array(PAGE_ADMIN_RESULTS, PAGE_ADMIN_REPORTS, PAGE_ADMIN_REPORT, PAGE_ADMIN_PLAYERS, PAGE_ADMIN_PLAYER, PAGE_ADMIN_TEAMS, PAGE_ADMIN_TEAM, PAGE_ADMIN_ROSTER, PAGE_ADMIN_MANAGEMENT, PAGE_ADMIN_ORGAN, PAGE_ADMIN_USERS, PAGE_ADMIN_VIDEOS, PAGE_ADMIN_VIDEO, PAGE_ADMIN_UPDATES, PAGE_ADMIN_UPDATE);
$group_menu[9]["access"] = ROLE_REPORTER;
$group_menu[9]["submenu"] = array(PAGE_ADMIN_REPORTS, PAGE_ADMIN_RESULTS, PAGE_ADMIN_ROSTER, PAGE_ADMIN_VIDEOS, PAGE_ADMIN_PLAYERS, PAGE_ADMIN_TEAMS, PAGE_ADMIN_MANAGEMENT, PAGE_ADMIN_USERS, PAGE_ADMIN_UPDATES);

?>
